﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E77 RID: 3703
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueBuffReforgeSelectResult : IMessage<RogueBuffReforgeSelectResult>, IMessage, IEquatable<RogueBuffReforgeSelectResult>, IDeepCloneable<RogueBuffReforgeSelectResult>, IBufferMessage
	{
		// Token: 0x17002EFD RID: 12029
		// (get) Token: 0x0600A617 RID: 42519 RVA: 0x001BF0DC File Offset: 0x001BD2DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueBuffReforgeSelectResult> Parser
		{
			get
			{
				return RogueBuffReforgeSelectResult._parser;
			}
		}

		// Token: 0x17002EFE RID: 12030
		// (get) Token: 0x0600A618 RID: 42520 RVA: 0x001BF0E3 File Offset: 0x001BD2E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueBuffReforgeSelectResultReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002EFF RID: 12031
		// (get) Token: 0x0600A619 RID: 42521 RVA: 0x001BF0F5 File Offset: 0x001BD2F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueBuffReforgeSelectResult.Descriptor;
			}
		}

		// Token: 0x0600A61A RID: 42522 RVA: 0x001BF0FC File Offset: 0x001BD2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffReforgeSelectResult()
		{
		}

		// Token: 0x0600A61B RID: 42523 RVA: 0x001BF104 File Offset: 0x001BD304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffReforgeSelectResult(RogueBuffReforgeSelectResult other) : this()
		{
			this.buffSelectId_ = other.buffSelectId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A61C RID: 42524 RVA: 0x001BF129 File Offset: 0x001BD329
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffReforgeSelectResult Clone()
		{
			return new RogueBuffReforgeSelectResult(this);
		}

		// Token: 0x17002F00 RID: 12032
		// (get) Token: 0x0600A61D RID: 42525 RVA: 0x001BF131 File Offset: 0x001BD331
		// (set) Token: 0x0600A61E RID: 42526 RVA: 0x001BF139 File Offset: 0x001BD339
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BuffSelectId
		{
			get
			{
				return this.buffSelectId_;
			}
			set
			{
				this.buffSelectId_ = value;
			}
		}

		// Token: 0x0600A61F RID: 42527 RVA: 0x001BF142 File Offset: 0x001BD342
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueBuffReforgeSelectResult);
		}

		// Token: 0x0600A620 RID: 42528 RVA: 0x001BF150 File Offset: 0x001BD350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueBuffReforgeSelectResult other)
		{
			return other != null && (other == this || (this.BuffSelectId == other.BuffSelectId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A621 RID: 42529 RVA: 0x001BF180 File Offset: 0x001BD380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BuffSelectId != 0U)
			{
				num ^= this.BuffSelectId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A622 RID: 42530 RVA: 0x001BF1BF File Offset: 0x001BD3BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A623 RID: 42531 RVA: 0x001BF1C7 File Offset: 0x001BD3C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A624 RID: 42532 RVA: 0x001BF1D0 File Offset: 0x001BD3D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BuffSelectId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.BuffSelectId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A625 RID: 42533 RVA: 0x001BF204 File Offset: 0x001BD404
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BuffSelectId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BuffSelectId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A626 RID: 42534 RVA: 0x001BF242 File Offset: 0x001BD442
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueBuffReforgeSelectResult other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BuffSelectId != 0U)
			{
				this.BuffSelectId = other.BuffSelectId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A627 RID: 42535 RVA: 0x001BF273 File Offset: 0x001BD473
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A628 RID: 42536 RVA: 0x001BF27C File Offset: 0x001BD47C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BuffSelectId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400437B RID: 17275
		private static readonly MessageParser<RogueBuffReforgeSelectResult> _parser = new MessageParser<RogueBuffReforgeSelectResult>(() => new RogueBuffReforgeSelectResult());

		// Token: 0x0400437C RID: 17276
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400437D RID: 17277
		public const int BuffSelectIdFieldNumber = 13;

		// Token: 0x0400437E RID: 17278
		private uint buffSelectId_;
	}
}
